class Person:
    def __init__(self, name, age):
        self.__name = name
        self.__age = age

    def get_name(self):
        return self.__name

    def get_age(self):
        return self.__age

    def set_name(self, name):
        self.__name = name

    def set_age(self, age):
        self.__age = age

    def introduce(self):
        print(f'我叫{self.__name}，我今年{self.__age}岁')


if __name__ == '__main__':
    p1 = Person('张三', '18')
    p1.introduce()
    p1.set_age(26)
    print(p1.get_age())
    p1.set_name('李四')
    p1.introduce()
